package day52.basic.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.METHOD})//注解能作用在方法上、类上
@Retention(RetentionPolicy.RUNTIME)//可以通过反射读取注解
public @interface PreAuthorize {
    String value();
    String name();
}